package com.lanchetech.dao;

import com.lanchetech.bean.request.PageReq;import com.lanchetech.entity.DiseaseReport;
import org.apache.ibatis.annotations.Mapper;import org.apache.ibatis.annotations.Param;import java.util.List;

@Mapper
public interface DiseaseReportMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DiseaseReport record);

    int insertSelective(DiseaseReport record);

    DiseaseReport selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DiseaseReport record);

    int updateByPrimaryKey(DiseaseReport record);

    List<DiseaseReport> findAllPage(PageReq req);

    DiseaseReport findOneByUserId(@Param("userId") Long userId);

    List<DiseaseReport> findAllByUserIds(@Param("userIds") List<Long> userIds);
}